﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace ProgNetComponents.Utils.EventHandlers
{
    /// <summary>
    /// DataRowEventArgs
    /// </summary>
    public class DataRowEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="DataRowEventArgs"/> class.
        /// </summary>
        /// <param name="row">The row.</param>
        public DataRowEventArgs(DataRow row)
        {
            this.Row = row;
        }
        /// <summary>
        /// Gets the row.
        /// </summary>
        /// <value>
        /// The row.
        /// </value>
        public DataRow Row
        {
            get;
            private set;
        }
    }
    /// <summary>
    /// DataRowEventHandler
    /// </summary>
    /// <param name="sender">The sender.</param>
    /// <param name="e">The <see cref="DataRowEventArgs"/> instance containing the event data.</param>
    public delegate void DataRowEventHandler(object sender, DataRowEventArgs e);
}
